home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
strpit11.zip
/
STRPREAD.ME
< prev
Wrap
Text File
|
1990-12-01
|
3KB
|
76 lines
PRESS PgUp/PgDn or / to scroll through the program, Esc exits.
STRIP-IT, version 1.1 is a file stripping utility by InsaniSoft, Inc.
What it does:
Strip-it is a little utility that will strip a number of characters off the
left or right columns of a file. You can run this program either by batch or
from the command line. To run from the command line, type STRP-IT and answer the
questions.
The proper syntax for batch files is: "-XNN (dr)(path)Filename.ext" where
X is "L"eft or "R"ight.
NN is the number of characters to be stripped. If "0" or no parameters are
entered, STRIP-IT will remove blank lines only. You cannot use negative numbers.
dr and path are the optional drive and path.
Filename.ext is, of course, the filename.
EXAMPLE: STRP-IT -L12 D:\TEMP\FOO.BAR strips 12 characters from the left of
the file FOO.BAR on D drive in the TEMP subdirectory.
STRIP-IT renames the changed file as the original and saves the original with
the extension .SAV.
NOTES:
If a line in a file contains less than the number of characters requested,
or is blank, STRIP-IT will remove that line from the output file.
STRIP-IT creates a file called STRP-ERR that will either say that it processed
the file, or will contain an error message if something went wrong.
If you run the program from batch, make sure you rename or move the .SAV and
the created file or else STRIP-IT will try to process it again and will error
out when it saves the original file (it uses a renaming process to save the
original and to substitute to process file).
STRIP-IT doesn't care about the original file size. It processes one line at a
time. You can figure that it will take 10 times as long to run a 100k file as
it does a 10k file.
Some suggested uses for this file:
1. If you pipe a directory into a file, you can use STRIP-IT to remove the
date/time stamp and/or file size. You can then use the resulting file as
input for another program.
2. If you have a BBS that makes a log file, you can use STRIP-IT to remove the
beginning characters. For example if your log looks like this:
> RA 00:12 Joe Blow logged on
> RA 00:14 Joe Blow shelled to ...
> RA 00:17 Joe Blow logged off
> RA 01:22 Joe Blow logged on
> RA 01:35 Joe Blow downloaded....
You can make it look like this:
Joe Blow logged on
Joe Blow shelled to ...
Joe Blow logged off
Joe Blow logged on
Joe Blow downloaded....
Then you can use a duplicate line deleter and have a file that shows the user
activity without all the spaces, and duplicate messages.
COPYRIGHT 1990 BY INSANISYS SOFTWARE. THIS PROGRAM IS DISTRUBUTED WITHOUT
ANY CHARGE, WARRANTIES, OR RESPONSIBITIES. RUN AT YOUR OWN RISK.
IF YOU FIND THIS PROGRAM USEFUL, PLEASE SEND A LITTLE SOMETHING TO THE AUTHOR.
IF YOU HAVE ANY SUGGESTIONS FOR IMPROVEMENTS, OR IF YOU FIND ANY BUGS, LET
ME KNOW, I WILL USE EITHER TO IMPROVE THE PROGRAMS.
PATRICK JADERBORG
212 NELLIS DRIVE
GOLDSBORO, NC, 27534
I can also be reached on Zero's Palace BBS 1:151/804
(919)-735-0342